<!doctype html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link = rel="stylesheet" href="/static/styles/bootstrap-5.3.0-alpha1-dist/css/bootstrap.css">
    <title>用户登录</title>
</head>
    <style>
        .card{
            width: 30%;
            margin: 0 auto;
            margin-top: 10%;
        }
    </style>
<body>
<div class="card">
    <div class="card-body">
        <div class="card-title">
            <h2 class="text-center">用户登录</h2>
        </div>

        <form action="/loginCheck" method="post">
            <form>
              <div class="form-group">
                <label for="username">用户名</label>
                <input type="text" class="form-control" name="username" placeholder="请输入用户名" required>
              </div>
              <div class="form-group">
                <label for="password">密码</label>
                <input type="password" class="form-control" name="password" placeholder="请输入密码" required>
              </div>
              <button type="submit" class="btn btn-primary">登录</button>
            </form>
            当前没有账号？<a href="/register">点击注册</a>
        </form>
    </div>
</div>
</body>
</html>